package com.gitee.zhanyao.servera;

import com.gitee.zhanyao.api.feign.OAuth2FeignRequestInterceptor;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;

@Import({OAuth2FeignRequestInterceptor.class})
@EnableFeignClients
@EnableDiscoveryClient
@SpringBootApplication
public class ServerAApplication {

    public static void main(String[] args) {
        SpringApplication.run(ServerAApplication.class, args);
    }

}
